/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufba.lasid.comm.api;

import br.ufba.lasid.base.api.IModule;

/**
 *
 * @author aliriosa
 */
public interface ICommunicator extends IModule{
    public void send(String hostID, String componentID, String message) throws Exception;
    public void send(String hostID, String message) throws Exception;
    
    public void register(IReceiver receiver, String hostID, String componentID) throws Exception;
    public void register(IReceiver receiver, String hostID) throws Exception;
    
    public void deregister(String hostID, String componentID) throws Exception;
    public void deregister(String hostID) throws Exception;
    
    
}
